//
//  ZTTXDeviceInfo.m
//  APPDemo
//
//  Created by 郭红旗 on 2021/10/18.
//

#import "ZTTXDeviceInfo.h"
#import <UIKit/UIKit.h>

@implementation ZTTXDeviceInfo

// 获取iPhone名称
+ (NSString *)getiPhoneName{
    return [UIDevice currentDevice].name;
}

// 获取app版本号
+ (NSString *)getAPPVersion{
    return [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
}

// 获取当前系统版本号：
+ (NSString *)getSystemVersion{
    return [UIDevice currentDevice].systemVersion;
}

// 获取UUID：
+ (NSString *)getUUID{
    return [[UIDevice currentDevice] identifierForVendor].UUIDString;
}

//获取BundleID
+(NSString*) getBundleID{
    return [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleIdentifier"];
}

@end
